import { IPSSysHtmlPortlet } from './ipssys-html-portlet';
import { PSSysPortletImpl } from './pssys-portlet-impl';

export class PSSysHtmlPortletImpl extends PSSysPortletImpl implements IPSSysHtmlPortlet {
  get htmlShowMode(): 'INNER' | 'IFRAME' {
    return this.M.htmlShowMode;
  }

  get pageUrl(): string {
    return this.M.pageUrl;
  }

  get cls(): string {
    return 'PSSysHtmlPortletImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'res.IPSSysHtmlPortlet') return true;
    return super.instanceof(cls);
  }
}
